package com.shareach.dao.mongoext;
/**
 * 查询条件类
 * @author zuoshuaiok@gmail.com
 *
 */
public class Where {
	String key;
	Object eq;
	Object lte;
	Object gte;
	Object lt;
	Object gt;

	public Object getEq() {
		return eq;
	}

	public Object getGt() {
		return gt;
	}

	public Object getGte() {
		return gte;
	}

	public String getKey() {
		return key;
	}

	public Object getLt() {
		return lt;
	}

	public Object getLte() {
		return lte;
	}

	public Where setEq(Object eq) {
		this.eq = eq;
		return this;
	}

	public Where setGt(Object gt) {
		this.gt = gt;
		return this;
	}

	public Where setGte(Object gte) {
		this.gte = gte;
		return this;
	}

	public Where setKey(String key) {
		this.key = key;
		return this;
	}

	public Where setLt(Object lt) {
		this.lt = lt;
		return this;
	}

	public Where setLte(Object lte) {
		this.lte = lte;
		return this;
	}
}
